LESSON 7: SEABORN INTRODUCTION

1. Overall introduction

Seaborn is an open-source Python library for data visualization built-on Matplotlib.

2. Install and import libraries

3. Using matplotlib with and without seaborn

3.1. Use matplotlib only

3.2. Use matplotlib with seaborn

3.3. Some figure styles in seaborn

3.4. matplotlib and seaborn can be used together

4. Datasets

5. Simple plots

5.1. Line plot

Line plot with single category

Line plot with multiple categories

5.2. Scatter plot

Scatter plot with single category

Scatter plot customize marker

Scatter plot with multiple categories

Scatter plot with single category with distributions

Scatter plot with multiple categories with distributions

Scatter plot with regression curve

Scatter plot with KDE and regression curve

5.3. Bar plot

Bar plot with single category

Bar plot with multiple categories

5.4. Histogram

Histogram with kde

kde is Kernel Density Estimation

Histogram with multiple categories by hue

6. Special plots

6.1. Count plot

Count plot with single category

Count plot with multiple categories

Count plot horizontally

6.2. Box plot

or box and whisker plot

Box plot with single category

Box plot with multiple categories

Show mean on box plot

6.3. Violin plot

Mapping between Box plot and Violin plot

Why Violin plot is better than Box plot?

Violin plot with single category

Violin plot with multiple categories

With more than two categories, we cannot use split=True

6.4. Strip plot

Strip plot is a kind of Scatter plot but it contain one axis as category

Strip plot with single category

Strip plot with multiple categories

6.5. Pair plot

Use to visualize pairwise relationship

6.6. Heatmap